package com.power.flowable.api;

import com.plf.common.domain.ResponseDTO;
import com.power.flowable.model.Act_dsn_form_stepfield;
import com.power.flowable.model.pageinfo.Act_dsn_form_stepfieldPageInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(value = "sfflow-svr", contextId = "sfflow-svr", path = "/sfflow-svr")
@RestController
public interface IAct_dsn_form_stepfieldFeign {

    /**
     * 流程环节字段配置分页列表
     */
    @PostMapping("/act_dsn_form_stepfield/list")
    ResponseDTO list(@RequestBody Act_dsn_form_stepfieldPageInfo act_dsn_form_stepfieldPageInfo);

    /**
     * 查看流程环节字段配置
     */
    @PostMapping("/act_dsn_form_stepfield/view/{id}")
    ResponseDTO view(@PathVariable Integer id);

    /**
     * 修改或保存流程环节字段配置
     */
    @PostMapping("/act_dsn_form_stepfield/save")
    ResponseDTO save(@RequestBody Act_dsn_form_stepfield  act_dsn_form_stepfield);

    /**
     * 删除流程环节字段配置
     */
    @PostMapping("/act_dsn_form_stepfield/delete/{id}")
    ResponseDTO delete(@PathVariable Integer id);

    /**
     * 批量删除流程环节字段配置
     */
    @PostMapping("/act_dsn_form_stepfield/batchDel")
    ResponseDTO batchDel(@RequestParam String ids);

    /**
     * 批量修改或保存流程表单环节配置
     */
    @PostMapping("/act_dsn_form_stepfield/batchSave")
    ResponseDTO batchSave(@RequestParam String formid, @RequestParam String stepid, @RequestBody List<Act_dsn_form_stepfield> list);



}
